package com.lbh.platforms.windows;

import com.lbh.platforms.windows.structures.kernel.ANSI_STRING;
import com.lbh.platforms.windows.structures.kernel.UNICODE_STRING;
import com.sun.jna.Library;
import com.sun.jna.Native;
import com.sun.jna.WString;

/***
 * project:JRuntime
 * package:com.lbh.platforms.windows
 *
 * @author user:lenovo QQ:1601078366
 * @date 2021/10/18 0:35
 * @version V1.0
 */
@SuppressWarnings({"AlibabaLowerCamelCaseVariableNaming", "unused", "AlibabaAbstractMethodOrInterfaceMethodMustUseJavadoc", "SpellCheckingInspection"})
public interface WinNtdll extends Library {

    WinNtdll ins = Native.load("ntdll", WinNtdll.class);

    void RtlInitUnicodeString(UNICODE_STRING DestinationString, WString SourceString);
    void RtlUnicodeStringToAnsiString(ANSI_STRING AnsiString, UNICODE_STRING UnicodeString, boolean AllocateDestinationString);
}
